import request from '@/utils/http'

// 保存反馈
export function saveFeedback(comment) {

    const queryData = comment
    return request(
         '/api/feedback/save', queryData, 'post'
    )
}



// 根据活动ID查询该活动的所有评论
export function queryFeedbackByUID(userId) {

    var params = {
        userId: userId
    }

    params.page = 1
    params.limit = 10
    params.sidx = 'id'
    params.order = 'desc'

    return request(
        '/api/feedback/infoByUID', params, 'post', false
    )
}






